<template>
  <div class="hello">
    <el-container>
      <el-header>
        <vHeader/>
      </el-header>
      <el-main>
        <vMain></vMain>
      </el-main>
      <el-footer style="height:auto;">
        <vFooter></vFooter>
      </el-footer>
    </el-container>
  </div>
</template>

<script>

import vHeader from '@/components/Header'
import vFooter from '@/components/Footer'
import vMain from '@/components/Main'

export default {
  name: 'HelloWorld',
  data () {
    return {
      msg: 'Welcome to Your Vue.js Home'
    }
  },
  components: {
    vHeader,
    vFooter,
    vMain
  },
}
</script>
 
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
/* body,html{
  margin-top: 0;
} */
.el-header, .el-footer {
    background-color: #545c64;
    color: #333;
    text-align: center;
    line-height: 60px;
    width: 70%;
    margin: 0 auto;
  }


  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
    
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
  
  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }
  
  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
</style>
